package com.zwj.dao;

import com.zwj.bean.User;

/**
 * @author zwj
 * @create 2021-05-12-16:27
 */
public interface UserDao {
    //通过用户名查询用户
    public User queryUserByUsername(String username);
    //通过用户名和密码查询用户
    public User queryUserByUsernameAndPassword(String username,String password);
    //保存用户
    public int saveUser(User user);
}
